package org.clearjerk.model.planet;

import java.io.Serializable;

public class Planet implements Serializable {

	private static final long serialVersionUID = 1L;
	private Tile[][] map;
	private BiomeType biomeType;
	private int numRegions;
	private int numCivRegions; //must be <= numReigons, number of civilized regions
	private int numHostileRegions; //must be <= numReigons, number of hostile regions
	
	public Planet(WorldGenMgr m)  {
		biomeType = m.getBiomeType();
		numRegions = m.getNumReigons();
		numCivRegions = m.getNumCivReigons();
		numHostileRegions = m.getNumHostileReigons();
		map = m.genWorld(); //this should always be last
	}
}